home *** CD-ROM | disk | FTP | other *** search
- Path: taco.cc.ncsu.edu!news
- From: dksmith@eos.ncsu.edu
- Newsgroups: comp.lang.c++
- Subject: URGENT (for me) Linker Problem
- Date: 1 Apr 1996 23:51:55 GMT
- Organization: North Carolina State University
- Message-ID: <4jpq6r$6c4@taco.cc.ncsu.edu>
- NNTP-Posting-Host: cc04du.unity.ncsu.edu
-
- I am writing some C++ code in Borland 3.1/4.5 In this code I call
- a C module with some functions I need in it. When I compile the resulting
- code I get the following linker error for each of the external C functions:
- LINKER ERROR: Undefined symbol <symbol> in module <module>.
- This problem is not alleviated by declaring the functions with the external
- keyword in my C++ code. When I tried to declare these functions, wrapping
- the declarations with the extern "C" keywords I get the following error:
- <function name> was previously declared in the language "
-
- Can anyone tell me how to get rid of the linker errors?
- BTW, all of the appropriate files are in my project file.
-
- If anyone can help me, I would appreciate it if you could send the answer to
- dksmith@eos.ncsu.edu. Thanks in advance.
-
- -David Smith
-
-